#!/bin/sh 

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@thunder[-1]
	add ucitrack thunder
	set ucitrack.@thunder[-1].init=thunder
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache

/etc/init.d/thunder enable >/dev/null 2>&1

exit 0
